a = int(input("请输入该员工的销售额："))
if(a <= 3000):
    b = 2000
    print("该员工的薪资为：%f"%(b))
elif(a <= 7000 and a > 3000):
    b = 2000 + a * 0.1
    print("该员工的薪资为：%f"%(b))
elif(a <= 10000 and a > 7000):
    b = 2000 + a * 0.15
    print("该员工的薪资为：%f"%(b))
elif(a >10000):
    b = 2000 + a * 0.2
    print("该员工的薪资为：%f"%(b))